import { TabLayout } from '@/components/layouts'
export const staticRouter = [
  // {
  //   path: '/daping',
  //   name: 'daping',
  //   component: BlankLayout,
  //   meta: {
  //     title: '精准预警劝阻态势'
  //   },
  //   children: [{
  //     path: '/daping',
  //     name: 'daping',
  //     component: () => import('@/views/daping/index')
  //   }]
  // },
  {
    path: '/smuggleAlarmList',
    name: 'smuggleAlarmList',
    redirect: '/smuggleAlarm/alarmList',
    component: TabLayout,
    meta: {},
    children: [
      {
        path: '/smuggleAlarm/alarmList',
        name: 'smuggleAlarmList',
        component: () => import('@/views/smuggle/alarm/alarmList.vue'),
        meta: {
          title: '告警动态',
        },
      },
      {
        path: '/smuggleAlarm/detail',
        name: 'detail',
        component: () => import('@/views/smuggle/components/detail.vue'),
        meta: {
          title: '告警动态-详情',
        },
      },
      {
        path: '/smuggleAlarm/alarmConfiguration',
        name: 'alarmConfiguration',
        component: () => import('@/views/smuggle/alarm/alarmConfiguration.vue'),
        meta: {
          title: '告警配置',
        },
      },
      {
        path: '/smuggleAlarm/configurationAdd',
        name: 'configurationAdd',
        component: () => import('@/views/smuggle/alarm/configurationAdd.vue'),
        meta: {
          title: '新增告警配置',
        },
      },
      {
        path: '/smuggleAlarm/alarmMap',
        name: 'smuggleAlarmMap',
        component: () => import('@/views/smuggle/alarm/alarmMap.vue'),
        meta: {
          title: '告警一张图',
        },
      },
    ],
  },
  {
    path: '/smuggleInformation',
    name: 'smuggleInformation',
    redirect: '/smuggleInformation/informationList',
    component: TabLayout,
    meta: {},
    children: [
      {
        path: '/smuggleInformation/informationList',
        name: 'informationList',
        component: () => import('@/views/smuggle/information/informationList.vue'),
        meta: {
          title: '情报推送',
        },
      },
      {
        path: '/smuggleInformation/detail',
        name: 'detail',
        component: () => import('@/views/smuggle/components/detail.vue'),
        meta: {
          title: '情报推送-详情',
        },
      },
      {
        path: '/smuggleInformation/ranking',
        name: 'ranking',
        component: () => import('@/views/smuggle/information/ranking.vue'),
        meta: {
          title: '走私排行',
        },
      },
      {
        path: '/smuggleInformation/rankDetail',
        name: 'rankDetail',
        component: () => import('@/views/smuggle/information/rankDetail.vue'),
        meta: {
          title: '走私排行-详情',
        },
      },
      {
        path: '/smuggleInformation/configList',
        name: 'configList',
        component: () => import('@/views/smuggle/information/configList.vue'),
        meta: {
          title: '情报配置',
        },
      },
    ],
  },
  {
    path: '/smuggleAnalysis',
    name: 'smuggleAnalysis',
    redirect: '/smuggleAnalysis/intelligenceAnalysis',
    component: TabLayout,
    meta: {},
    children: [
      {
        path: '/smuggleAnalysis/intelligenceAnalysis',
        name: 'intelligenceAnalysis',
        component: () => import('@/views/smuggle/analysis/intelligenceAnalysis.vue'),
        meta: {
          title: '情报分析',
        },
      },
      {
        path: '/smuggleAnalysis/alarmAnalysis',
        name: 'alarmAnalysis',
        component: () => import('@/views/smuggle/analysis/alarmAnalysis.vue'),
        meta: {
          title: '告警分析',
        },
      },
    ]
  }
]
